package com.global.college.ui.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.global.college.R;
import com.global.college.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 支付失败
 */
public class PayFailActivity extends BaseActivity {

    @BindView(R.id.ll_return)
    LinearLayout llReturn;
    @BindView(R.id.tv_pay_status)
    TextView tvPayStatus;
    @BindView(R.id.tv_call_phone)
    TextView tvCallPhone;
    @BindView(R.id.tv_continue_pay)
    TextView tvContinuePay;
    @BindView(R.id.tv_refresh_order)
    TextView tvRefreshOrder;

    @Override
    public int getContentViewId() {
        return R.layout.activity_pay_fail;
    }

    @Override
    public void onCreateNew(Bundle savedInstanceState) {
        setShowTitleBar(false);
    }

    @Override
    public void getInitData() {

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }

    @OnClick({R.id.ll_return, R.id.tv_call_phone, R.id.tv_continue_pay, R.id.tv_refresh_order})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.ll_return:
                finish();
                break;
            case R.id.tv_call_phone:
                break;
            case R.id.tv_continue_pay:
                finish();
                break;
            case R.id.tv_refresh_order:
                break;
        }
    }
}